<div class="content">
    <!--- Bread Crumbs Menu -->

    <div class="row-fluid">
        <?php
        $auth = Auth::getAuth('current_user');
        $db = new Database();
        $fs = new Functions();
        $Campaign_Functions = new Campaign_Functions();
        $users = new Users($db,$auth['id']);
        ?>

        <div class="span12">
            
            <div class="middle">

                <div class="button">
                    <a href="#">
                        <span class="fa fa-user widget_circle_btn_icon"></span>
                        <span class="text">Users</span>
                    </a>
                    <ul class="sub">
                        <li><a href="/user/user-profile" class="tip" title="User Profile"><span class="icon-user"></span></a></li>
                        <li><a href="/user/add-user" class="tip" title="Add User"><span class="icon-plus"></span></a></li>
                        <li><a href="/user/user-list" class="tip" title="User List"><span class="icon-list"></span></a></li>
                    </ul>
                </div>
                
                <div class="button">
                    <a href="#">
                        <span class="fa fa-bolt widget_circle_btn_icon"></span>
                        <span class="text">Energy Chart</span>
                    </a>
                    <ul class="sub">
                        <li><a href="/user/user-profile" class="tip" title="My Campaign"><span class="icon-user"></span></a></li>
                        <li><a href="/user/add-user" class="tip" title="List of Campaign Planner"><span class="icon-list"></span></a></li>
                        <li><a href="/user/user-list" class="tip" title="Energy Chart"><span class="icon-signal"></span></a></li>
                        <li><a href="/user/add-user" class="tip" title="Previous Energy Chart"><span class="icon-list"></span></a></li>
                        <li><a href="/user/user-list" class="tip" title="Flow Book"><span class="icon-book"></span></a></li>
                    </ul>
                </div>
                
                <div class="button">
                    <a href="#">
                        <span class="fa fa-columns widget_circle_btn_icon"></span>
                        <span class="text">Brochure</span>
                    </a>
                    <ul class="sub">
                        <li><a href="/brochure/create-brochure" class="tip" title="Create Brochure"><span class="icon-user"></span></a></li>
                        <li><a href="/brochure/brochure-list" class="tip" title="List of Brochure"><span class="icon-list"></span></a></li>
                    </ul>
                </div>
                
                <div class="button">
                    <a href="#">
                        <span class="fa fa-cogs widget_circle_btn_icon"></span>
                        <span class="text">Settings</span>
                    </a>
                    <ul class="sub">
                        <li><a href="/settings/user-profile" class="tip" title="Email Notification"><span class="icon-plus"></span></a></li>
                        <li><a href="/settings/add-user" class="tip" title="Role Access"><span class="icon-list"></span></a></li>
                    </ul>
                </div>

                <div class="button">
                    <a href="#">
                        <span class="fa fa-book widget_circle_btn_icon"></span>
                        <span class="text">Audtit Trail</span>
                    </a>
                    <ul class="sub">
                        <li><a href="users.html" class="tip" title="Show list"><span class="icon-th-list"></span></a></li>
                        <li><a href="ui.html" class="tip" title="Add new"><span class="icon-plus"></span></a></li>                        
                        <li><a href="#" class="tip" title="Registrations"><span class="icon-ok"></span></a></li>
                        <li><a href="#" class="tip" title="Send mail"><span class="icon-envelope"></span></a></li>
                        <li><a href="#" class="tip" title="Top users"><span class="icon-star"></span></a></li>
                        <li><a href="#" class="tip" title="Users activity"><span class="icon-signal"></span></a></li>
                        <li><a href="#" class="tip" title="Last comments"><span class="icon-comment"></span></a></li>
                    </ul>
                </div>                

            </div>                
                <div class="dr"><span></span></div>
            </div>
            
            <div class="row-fluid">
                <div class="span6">
                    <div class="widget"> 
                        <div class="head dark">
                            <div class="icon title_icon"><i class="fa fa-list"></i></div>
                            <h2>List of my Campaign</h2>
                                                    
                        </div>
                        <div class="block-fluid">
                            <table class="" cellpadding="0" cellspacing="0" width="100%">
                                <thead>
                                    <tr>
                                        <th><input type="checkbox" class="checkall"/></th>
                                        <th width="25%">Campaign By</th>
                                        <th width="20%">Title</th>
                                        <th width="20%">Campaign</th>
                                        <th width="20%">Description</th>
                                        <th width="20%">Status</th>
                                        <th width="15%" class="TAC">Actions</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    
                                </tbody>
                            </table>
                            <div style="float:left;padding: 5px;width:100%;" class="text-left">
                                <button class="btn btn-small" type="button">Submit</button>
                            </div>
                        </div>
                    </div>                               
                    
                </div>
                <div class="span6">
                    <div class="widget">
                        <div class="head dark">
                            <div class="icon title_icon"><i class="fa fa-list"></i></div>
                            <h2>List Campaign Planner</h2>                      
                        </div>
                        
                        <div class="block-fluid">
                            <div style="padding: 5px;" class="text-right">
                                <button class="btn btn-small" type="button">Confirm</button>
                                <button class="btn btn-small" type="button">Move</button>
                            </div>
                            <table class="" cellpadding="0" cellspacing="0" width="100%">
                                <thead>
                                    <tr>
                                        <th><input type="checkbox" class="checkall"/></th>
                                        <th width="25%">Campaign By</th>
                                        <th width="20%">Title</th>
                                        <th width="20%">Description</th>
                                        <th width="20%">Campaign</th>
                                        <th width="15%" class="TAC">Actions</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    
                                </tbody>
                            </table>   
                                               
                            
                        </div>                    
                    </div>                            
                    
                </div>
            </div>
                                          
            
            <div class="widget">
                                <div class="head dark">
                                    <div class="icon title_icon"><i class="fa fa-list"></i></div>
                                    <h2>View FlowBook</h2>
                                </div>                        
                                <div class="block-fluid">
                                    <div class="accordion">

                                        <h3>2015</h3>
                                        <div><div class="row-form">
                                            <div class="block-fluid">
                                                <div class="row-form">
                                                    <div class="span12">
                                                        <div class="span6">
                                                            <div class="span3">Brand Category:</div>
                                                            <div class="span9"><input type="text" placeholder="Placeholder example" style="margin-left: -5px;"/></div>
                                                        </div>
                                                        <div class="span6">
                                                            <div class="span3">Month Campaign:</div>
                                                            <div class="span5">
                                                                <select name="" style="margin-left: -5px;">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="span12" style="margin-left:0;margin-top: -15px;">
                                                        <div class="span3">
                                                            <div class="span6">Brand:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <div class="span3">
                                                            <div class="span6">Form:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <div class="span3">
                                                            <div class="span6">Style:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <div class="span3">
                                                            <div class="span6">Size:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="span12" style="margin-left:0;margin-top: -15px;">
                                                        <div class="span3">
                                                            <div class="span6">Sub Brand:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <div class="span3">
                                                            <div class="span6">Sub Form:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <div class="span3">
                                                            <div class="span6">Color:</div>
                                                            <div class="span6">
                                                                <select name="">
                                                                    <option value="0">choose a option...</option>                                                                   
                                                                </select>
                                                            </div>
                                                        </div>
                                                        <div class="span3">
                                                            <div class="span12">
                                                                <input type="text" placeholder="Placeholder example"/>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="span12" style="margin-left:0;margin-top: -15px;margin-bottom: -15px;">
                                                        <div class="pull-right">
                                                        <button class="btn btn-primary" type="button">Search</button>
                                                        &nbsp;&nbsp;
                                                        <button class="btn btn-primary" type="button">Export to Excel</button>
                                                    </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                                <div class="row-form">
                                                    <div class="span12" style="overflow:auto;">
                                                        <table cellpadding="0" cellspacing="0" width="100%">
                                                            <thead>
                                                                <tr>
                                                                    <th>
                                                                       Item Code
                                                                    </th>
                                                                    <th>
                                                                       Decription
                                                                    </th>
                                                                    <th>
                                                                       COI Date
                                                                    </th>
                                                                    <th>
                                                                       Brand
                                                                    </th>
                                                                    <th>
                                                                       Sub brand
                                                                    </th>
                                                                    <th>
                                                                       Style
                                                                    </th>
                                                                    <th>
                                                                       Color
                                                                    </th>
                                                                    <th>
                                                                       Size
                                                                    </th>
                                                                    <th>
                                                                       Inv. Tag
                                                                    </th>
                                                                    <th>
                                                                       Inv. Class
                                                                    </th>
                                                                    <th>
                                                                       Age as of
                                                                    </th>
                                                                    <th>
                                                                       CSP as of
                                                                    </th>
                                                                    <th>
                                                                       CSP as of
                                                                    </th>
                                                                    <th>
                                                                       Cost as of
                                                                    </th>
                                                                    <th>
                                                                       Actions
                                                                    </th>
                                                                </tr>
                                                            </thead>
                                                            <tbody>
                                                                <?php
                                                                for($a = 0; $a < 5; $a++){
                                                                ?>
                                                                <tr>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td>
                                                                        Dmitry Ivaniuk
                                                                    </td>
                                                                    <td></td>
                                                                </tr>
                                                                <?php
                                                                }
                                                                ?>
                                                            </tbody>
                                                        </table>
                                                    
                                                    </div>
                                                </div>
                                        </div>
                                        <h3>2014</h3>
                                        <div>
                                            <table cellpadding="0" cellspacing="0" width="100%">
                                                <thead>
                                                    <tr>
                                                        <th>
                                                           Brand Story
                                                        </th>
                                                        <th>
                                                           Jan 1
                                                        </th>
                                                        <th>
                                                           Jan 2
                                                        </th>
                                                        <th>
                                                           Feb 1
                                                        </th>
                                                        <th>
                                                           Feb 2
                                                        </th>
                                                        <th>
                                                           Mar 1
                                                        </th>
                                                        <th>
                                                           Mar 2
                                                        </th>
                                                        <th>
                                                           Apr 1
                                                        </th>
                                                        <th>
                                                           Apr 2
                                                        </th>
                                                        <th>
                                                           May 1
                                                        </th>
                                                        <th>
                                                           May 2
                                                        </th>
                                                        <th>
                                                           Jun 1
                                                        </th>
                                                        <th>
                                                           Jun 2
                                                        </th>
                                                        <th>
                                                           Jul 1
                                                        </th>
                                                        <th>
                                                           Jul 2
                                                        </th>
                                                        <th>
                                                           Aug 1
                                                        </th>
                                                        <th>
                                                           Aug 2
                                                        </th>
                                                        <th>
                                                           Sep 1
                                                        </th>
                                                        <th>
                                                           Sep 2
                                                        </th>
                                                        <th>
                                                           Oct 1
                                                        </th>
                                                        <th>
                                                           Oct 2
                                                        </th>
                                                        <th>
                                                           Nov 1
                                                        </th>
                                                        <th>
                                                           Nov 2
                                                        </th>
                                                        <th>
                                                           Dec 1
                                                        </th>
                                                        <th>
                                                           Dec 2
                                                        </th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <?php
                                                    for($a = 0; $a < 5; $a++){
                                                    ?>
                                                    <tr>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                        <td>
                                                            Dmitry Ivaniuk
                                                        </td>
                                                    </tr>
                                                    <?php
                                                    }
                                                    ?>
                                                </tbody>
                                            </table>
                                        </div>
                
                                    </div>
                                </div>
                            </div>
                            
        </div>            

    </div>
    
    <div id="fcAddEvent" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="fcAddEventLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><i class="fa fa-times"></i></button>
            <h3 id="fcAddEventLabel">Add new event</h3>
        </div>
        <div class="modal-body">
            <div class="row-fluid">
                <div class="span3">Title:</div>
                <div class="span9"><input type="text" id="fcAddEventTitle"/></div>
            </div>
        </div>
        <div class="modal-footer">            
            <button class="btn btn-primary" id="fcAddEventButton">Add</button>            
        </div>
    </div>

</div>  